package com.eh.proxy.virtual.icon;

import javax.swing.*;
import java.awt.*;

/**
 * Created by David on 2016/5/3.
 */
public class ImageNotLoaded implements Icon {
    @Override
    public void paintIcon(Component c, Graphics g, int x, int y) {
        g.drawString("Loading CD cover, please wait...", x + 300, y + 190);
    }

    @Override
    public int getIconWidth() {
        return 800;
    }

    @Override
    public int getIconHeight() {
        return 600;
    }
}
